package com.drcoffee.drcoffeemall.service;

import com.drcoffee.drcoffeemall.entry.*;
import org.springframework.http.ResponseEntity;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderService {

    ResponseEntity<Object> processAnOrder(String token, String order_code);

    ResponseEntity<Object> getNotThrowOrdderHead(Map<String, Object> paramMap);

    ResponseEntity<Object> getNotThrowOrdderDetail(Map<String, Object> paramMap);

    ResponseEntity<Object> getTransportOrder(Map<String,Object> paramMap);


    Result setTransportCode(String order_code, String transport_code);


    ResponseEntity<Object> getVoucherData(Map<String, Object> paramMap);


    Result setVoucherY(PayVoucher voucher);

    ResponseEntity<Object> getOrderByCode(String orderCode);

    ResponseEntity<Object> getAllTrade(Map<String, Object> paramMap);

    ResponseEntity<Object> setOrderDisplace(Map<String, Object> paramMap);

    ResponseEntity<Object> setOrderDisplace1(Map<String, Object> paramMap);

    ResponseEntity<Object> throwToOcm(Map<String, Object> paramMap) throws Exception;


    Object getOrderList(Map<String, Object> paramMap);

    ResponseEntity<Object> getOrderParts(Map<String, Object> paramMap);

    List<Main1> getMainData(Date date1, Date date2);

    Result tRecord();

    List<Object> getNot();
}
